package com.bean.entity;

import java.io.Serializable;

/**
 * 部门实体
 * @author Administrator
 *
 */
public class Department implements Serializable {

	private static final long serialVersionUID = 1L;

	/**部门ID  */
	private Integer id;
	/** 部门名称  */
	private String name;
	/**部门领导ID  */
	private Integer leaderId;
	
	public Department() {
	}

	public Department(Integer id) {
		this.id = id;
	}

	public Department(String name, Integer leaderId) {
		this.name = name;
		this.leaderId = leaderId;
	}

	public Department(Integer id, String name, Integer leaderId) {
		this.id = id;
		this.name = name;
		this.leaderId = leaderId;
	}

	@Override
	public String toString() {
		return "DepartmentMapper [id=" + id + ", name=" + name + ", leaderId=" + leaderId + "]";
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLeaderId() {
		return leaderId;
	}

	public void setLeaderId(Integer leaderId) {
		this.leaderId = leaderId;
	}
	
}
